package b.third.impl

import akka.NotUsed
import com.lightbend.lagom.scaladsl.api.{Descriptor, Service, ServiceCall}

/**
  * Created by lenovo on 2017/1/24.
  */
trait T第三方支付Service extends Service {
  def f取号: ServiceCall[String, Int]
  val serviceName: String = "THIRD"
  override def descriptor: Descriptor = {
    import Service._
    named(serviceName).withCalls(
      pathCall("/api/seq", f取号)
    ).withAutoAcl(true)
  }
}
